package Server;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import RemoteInter.GameRemoteControlInterface;
import java.util.*;
public class GameServant extends UnicastRemoteObject 
implements GameRemoteControlInterface {
	//ObjectStatus[] osl;
	ArrayList<Player> pl = new ArrayList<Player>();
	
	public void updatePlayerStatus(int playerID, double currentSpeed, double currentAcc, double[] position )
	{
		pl.get(playerID).setSpeed(currentSpeed);
		pl.get(playerID).setAcc(currentAcc);
		pl.get(playerID).setPosition(position);
	}
	
	public int getRanking(int playerID)
	{
		
	}
	
	
	
}
